package com.example.note;

public class Notatka {
	private long id;
	private String tresc;
	private int priorytet; 
	private boolean zakonczona;

	public Notatka(long id, String tresc,int priorytet, boolean zakonczona) {
		this.id = id;
		this.tresc = tresc;
		this.priorytet=priorytet;
		this.zakonczona = zakonczona;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTresc() {
		return tresc;
	}

	public void setTresc(String tresc) {
		this.tresc = tresc;
	}

	public boolean isZakonczona() {
		return zakonczona;
	}

	public void setZakonczona(boolean zakonczona) {
		this.zakonczona = zakonczona;
	}
	
	public int getPriorytet() {
		return priorytet; 
	}
	
	public void setPriorytet(int priorytet){
		this.priorytet=priorytet;
	}
}